var axios =require("axios");

var ConfigurationService={
      
	SaveGlobalToolConfiguration(data ){
           var params = new URLSearchParams();
           params.append('content',JSON.stringify(data));
	       return axios.post("/services/ConfigurationService/SaveGlobalToolConfiguration",params)
           .then(function (data) {
               return data.data;
           })
      .    catch(function (err) { console.warn('Error in SaveGlobalToolConfiguration', err) })
       },
	GetGlobalToolConfiguration( ){
           var params = new URLSearchParams();
	       return axios.post("/services/ConfigurationService/GetGlobalToolConfiguration",params)
           .then(function (data) {
               return data.data;
           })
      .    catch(function (err) { console.warn('Error in GetGlobalToolConfiguration', err) })
       }
};

export {
	ConfigurationService
}